package com.quanquan.user.entity;


import lombok.Data;

import javax.persistence.*;


@Data
@Entity
@Table(name = "oo_pos_order")
public class PosOrder {

    /**
     * 主键
     */
    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;

    /**
     * 小票号
     */
    @Column(name = "ticket_num",nullable = false,length = 64)
    private String ticketNum;

    /**
     * 金额
     */
    @Column(name = "money",length = 32)
    private String money;

    /**
     * 商户id
     */
    @Column(name = "store_id",length = 64)
    private String storeId;


    /**
     * 用户id
     */
    @Column(name = "user_id",length = 64)
    private String userId;

    /**
     * 消费日期
     */
    @Column(name = "cosume_day",length = 64)
    private String consumeDay;


    /**
     * 申请状态
     */
    @Column(name = "application_status",length = 32)
    private String applicationStatus;

    /**
     * 审核和备注
     */
    @Column(name = "remark_application",length = 255)
    private String remarkApplication; //运营备注


    /**
     * 用户手机号
     */
    @Column(name = "phone",length = 32)
    private String phone;

    @Column(name = "receive_point", length = 32)
    private String receivePoint;


}
